package a.f.g.a.a;

public class c
  extends b
{
  private int m;
  private long n;
  public static boolean o;
  
  public c(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    super(paramDouble1, paramDouble2, paramDouble3, paramDouble4);
  }
  
  public double o()
  {
    return e.a(this.a.size(), this.m, this.n);
  }
  
  public double p()
  {
    if (!f.i) {
      if (this.a.size() == 0) {
        return 0.0D;
      }
    }
    return this.m / this.a.size();
  }
  
  public void a(a.c.e parame, double paramDouble1, double paramDouble2, double paramDouble3)
  {
    boolean bool = f.i;
    if (!bool) {
      if (Double.isNaN(paramDouble1)) {
        throw new IllegalArgumentException("x is NaN");
      }
    }
    if (!bool) {
      if (Double.isNaN(paramDouble2)) {
        throw new IllegalArgumentException("y is NaN");
      }
    }
    if (Double.isNaN(paramDouble3)) {
      throw new IllegalArgumentException("z is NaN");
    }
    super.b(parame, paramDouble1, paramDouble2);
    this.m = ((int)(this.m - paramDouble3));
    this.n = ((this.n - paramDouble3 * paramDouble3));
  }
  
  public void b(a.c.e parame, double paramDouble1, double paramDouble2, double paramDouble3)
  {
    boolean bool = f.i;
    if (!bool) {
      if (Double.isNaN(paramDouble1)) {
        throw new IllegalArgumentException("x is NaN");
      }
    }
    if (!bool) {
      if (Double.isNaN(paramDouble2)) {
        throw new IllegalArgumentException("y is NaN");
      }
    }
    if (Double.isNaN(paramDouble3)) {
      throw new IllegalArgumentException("z is NaN");
    }
    super.a(parame, paramDouble1, paramDouble2);
    this.m = ((int)(this.m + paramDouble3));
    this.n = ((this.n + paramDouble3 * paramDouble3));
  }
  
  public void a(a.c.e parame, double paramDouble1, double paramDouble2)
  {
    throw new IllegalStateException("Please call addNode(Node,double,double,double) instead");
  }
  
  public void b(a.c.e parame, double paramDouble1, double paramDouble2)
  {
    throw new IllegalStateException("Please call removeNode(Node,double,double,double) instead");
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.g.a.a.c

 * JD-Core Version:    0.7.0.1

 */